package com.javasm.mb_store_api_final.sys_control.logcontrol.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统访问记录(SysLoginLog)表实体类
 *
 * @author makejava
 * @since 2024-08-04 16:47:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysLoginLog extends Model<SysLoginLog> {
    //访问ID
    private Long infoId;
    //用户账号
    private String userName;
    //登录IP地址
    private String ipaddr;
    //登录地点
    private String loginLocation;
    //浏览器类型
    private String browser;
    //操作系统
    private String os;

    private String status;
    //提示消息
    private String msg;
    //访问时间
    private Date loginTime;


    @TableField(exist = false)
    private SysLogInfo sysLogInfo;
}